﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace lbl.WcfServices.Contracts
{
    [ServiceContract(Name = "CalculatorService", Namespace = "poleices@gmail.com",CallbackContract=typeof(ICallback))]
    public interface ICalculator
	{
        [OperationContract(IsOneWay=true)]
        void Add(double x,double y);
        [OperationContract]
        double Subtract(double x,double y);
        [OperationContract]
        double Multiply(double x,double y);
        [OperationContract]
        double Divide(double x, double y);
	}
}
